//
//  PullDownView.h
//  SlideView
//
//  Created by zhaojh on 9/7/14.
//  Copyright (c) 2014年 zjh. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol PullDownViewDelegate <NSObject>

@optional
- (void)chooseButtonItem:(NSInteger)index;

@end

@interface PullDownView : UIView

@property (nonatomic, strong) NSArray *items;
@property (nonatomic) NSInteger index;
@property (nonatomic) BOOL isShow;
@property (weak, nonatomic) id <PullDownViewDelegate> delegate;

- (id)initWithFrame:(CGRect)frame withItems:(NSArray *)items;

//通过16进制计算颜色
+ (UIColor *)colorFromHexRGB:(NSString *)inColorString;

@end
